|
|
|
|
|
|
|
1. What are some of the advantages of using a data-bound list or combo box? |
|
|
|
|
|
|
|
|
2. What property of the data-bound list box do you set to identify the name of the Recordset object that provides the data to fill the list box? |
|
|
|
|
|
|
|
|
3. What function does the BoundColumn property of the data-bound list box serve? |
|
|
|
|
|
|
|
|
4. What data-bound list/combo box properties do you set to identify the destination data set and field to be updated. |
|
|
|
|
|
|
|
|
5. What properties of the data-bound grid control must be set to allow additions and removal of records? |
|
|
|
|
|
|
|
|
6. What event of the data-bound grid control would you modify to prompt the user to confirm deletion of a record? |
|
|
|
|
|
|
|
|
7. Why would you use the column-level events of the data-bound grid control? |
|
|
|
|
|
|
|
|
8. When would you use the data-bound combo box instead of the data-bound list box? |
|
|
|
|
|
|
|
|
9. What data-bound grid control method do you use to refresh the grid? |
|
|
|
|
|
|
|
|
10. In what scenarios would you employ a Subform using a data grid? |
|
|
|
|
|
|
|
|
Assume that you have been assigned the responsibility of maintaining the BIBLIO.MDB database application that ships with Visual Basic 5. Your organization has determined that the information contained in this database will be of value to Help Desk personnel. The Help Desk Manager has come to you and requested a Visual Basic 5 application for Help Desk use. |
|
|
|
|
|
|
|
|
Build a data form that contains a data-bound list box that displays the Name field from the Publishers table. Once selection is made in this list box, text boxes should display PubID, CompanyName, Address, City, State, Zip, Telephone, and Fax of the publisher selected. |
|
|
|
|
|
|
|
|
In addition, a listing of all publications of the selected publisher should appear in a data-bound grid Subform. For each entry, display the Title, Year Published, and ISBN from the Titles table. |
|
|
|
|
|
|
|
|
Hint: You will need to use three data controls for this form. |
|
|
|
|
|